import turtle as t
# 开始设置
t.speed(0)
d = 400 # 扇子直径
# 火红扇面圆环
t.dot(d,"firebrick")
t.dot(1/4*d,"white")
# 遮盖下半圆
t.backward(d/2)
t.pencolor("white") # 设置画笔颜色
t.fillcolor("white") # 设置画笔填充颜色
t.begin_fill() # 开始填充
i = 0
while i < 4:
    t.forward(d)
    t.right(90)
    i += 1
t.end_fill()
# 扇骨
t.forward(d/2)
t.pencolor("tan")
t.pensize(3)
j = 0 
while j < 9:
    t.forward(d/2)
    t.backward(d/2)
    t.left(180/9)
    j += 1
# 绘制边骨
t.forward(d/2)
t.backward(d)
t.forward(d/2)
# 绘制扇钉
t.dot(8,"white")
# 结束设置
t.hideturtle()
t.done()
